package com.xiaoshuidi.cloud.module.rooms.controller.admin.doorlockcdkey.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author Feng
 * @date 2023/9/27
 */
@Data
public class RoomDoorlockCdkeyReq {

    private Long id;

    /**
     * 门店ID
     */
    @NotNull(message = "请选择一个门店")
    private Long apartmentId;

    /**
     * 名称
     */
    @NotNull(message = "名称不能为空")
    private String name;

    /**
     * 激活码
     */
    @NotNull(message = "激活码不能为空")
    private String cdkey;
}
